package com.brainshare.an.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainshare.common.annotation.Excel;
import com.brainshare.common.core.domain.BaseEntity;

/**
 * 训练产品项目对象 exercise
 * 
 * @author wolong
 * @date 2023-03-10
 */
public class Exercise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 训练项目主键 */
    private Long exerciseId;

    /** 关联训练产品主键 */
    @Excel(name = "关联训练产品主键")
    private Long exerciseProductId;

    /** 训练项目名称 */
    @Excel(name = "训练项目名称")
    private String name;

    /** 训练跳转连接地址 */
    @Excel(name = "训练跳转连接地址")
    private String url;

    /** 训练图片连接地址 */
    @Excel(name = "训练图片连接地址")
    private String pictureUrl;

    /** 训练项描述 */
    @Excel(name = "训练项描述")
    private String description;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setExerciseId(Long exerciseId) 
    {
        this.exerciseId = exerciseId;
    }

    public Long getExerciseId() 
    {
        return exerciseId;
    }
    public void setExerciseProductId(Long exerciseProductId) 
    {
        this.exerciseProductId = exerciseProductId;
    }

    public Long getExerciseProductId() 
    {
        return exerciseProductId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("exerciseId", getExerciseId())
            .append("exerciseProductId", getExerciseProductId())
            .append("name", getName())
            .append("url", getUrl())
            .append("pictureUrl", getPictureUrl())
            .append("description", getDescription())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
